<?php
/**
 * Created by PhpStorm.
 * User: caoyong
 * Date: 15/3/20
 * Time: 09:02
 */

namespace Caoyong\Tests\Objects;

use Caoyong\PHPCore\Object;

class Person extends Object
{
    protected $name;
    protected $age;

    public function getName()
    {
        return $this->name;
    }

    public function setName($name)
    {
        $this->name = $name;
    }

    public function test()
    {
        return 'This is a test method';
    }
}
